#ifndef __I2C_H__
#define __I2C_H__

#define Write 0
#define Read 1

#define Continue 0
#define Stop 1



void MyI2C_W_SCL(uint8_t BitVal);
void MyI2C_W_SDA(uint8_t BitVal);
uint8_t MyI2C_R_SDA(void);
void MyI2C_Init(void);
void MyI2C_Start(void);
void MyI2C_Stop(void);
void MyI2C_SetAddress_R_W(uint8_t Slave_Address, uint8_t R_W);
void MyI2C_SetRegAddress(uint8_t RegAddress);
void MyI2C_SendByte(uint8_t DataByte);
void MyI2C_SendAck(uint8_t AckBit);
uint8_t MyI2C_ReceiveAck(void);
uint8_t MyI2C_ReceiveByte(void);


#endif
